package com.hutao.sso.util;

/**
 * 诊疗类别
 * @author yeyongli
 *
 */
public enum TreatmentTypeEnum {
	
	PhysicalExamination(1, "体检信息"), 
	MedicalService(2, "看病信息"),
	EchinococciosisBultrasoundExamination(3, "B超检�?"),
	EchinococciosisDefinitivehost(4, "终宿主（犬）棘球绦虫感染调查"),
	
	EchinococciosisFamilycheck(5, "家庭基本情况调查"),
	
	EchinococciosisLivestock(6, "包虫病流行情况调查家畜棘球蚴病调�?"),
	
	EchinococciosisPersonalcheck(7, "包虫病患者个案调�?"),
	
	EchinococciosisRodent(8, "啮齿类动物棘球蚴病调�?"),
	
	PregnantWomanReg(9, "孕妇�?�?"),
	EyeDiseases(10, "眼疾�?�?");
	
	private Integer value;
	private String desc;
	
	TreatmentTypeEnum(Integer value, String desc) {
		this.value = value;
		this.desc = desc;
	}
	
	public Integer getValue() {
		return value;
	}
	
	public String getDesc() {
		return desc;
	}
	

    public static TreatmentTypeEnum valueOf(int value) {
        switch (value) {
            case 1:
                return PhysicalExamination;
            case 2:
                return MedicalService;
            case 3:
                return EchinococciosisBultrasoundExamination;
            case 4:
                return EchinococciosisDefinitivehost;
            case 5:
                return EchinococciosisFamilycheck;
            case 6:
            	return EchinococciosisLivestock;
            case 7:
            	return EchinococciosisPersonalcheck;
            case 8:
            	return EchinococciosisRodent;
            case 9:
            	return PregnantWomanReg;
            case 10:
            	return EyeDiseases;
        }
        throw new IllegalArgumentException("Cannot create evalue from value: " + value + "!");
    }


}








